﻿.pensee-quiz-background {
    min-height: 100dvh;
    width: 100%;
    background-size: cover;
    margin-top: 25px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    text-shadow: 4px 3px 0px #C8C8C8
}
/* Titres */
.pensee-quiz-test h1,
.pensee-quiz-test h2 {
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}
/*.pensee-concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;*/ /*16px;*/
    /*max-width: 100%;
    margin: 1px auto;
    padding: 1rem;*/ /*0 16px;*/
/*}*/

.pensee-cadreneutre-title {
  /*  margin-top: 90px; *//* ajuste selon la hauteur de la barre */
    text-align: center;
    margin-bottom: 1.2rem;
    font-family: 'Georgia', serif;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}
.pensee-concept-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1100px;
    margin: 1px auto;
    padding: 1rem;
    box-sizing: border-box;
}

.pensee-concept-button {
    min-width: 150px;
    max-width: 360px;
    min-height: 58px;
    height: 58px;
    padding: 8px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}
    .pensee-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px auto;
}
.pensee-header {
    text-align: center;
    margin: 20px auto 30px auto;
    max-width: 1100px;
}

    .pensee-header h1 {
        margin: 0 0 12px 0;
    }

    .pensee-header p {
        margin: 6px 0;
    }
/* Titre de chaque ensemble */
.pensee-section-titre {
    margin: 0 0 8px 18px;
    padding: 0;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Grille des concepts */
.pensee-section .pensee-concept-grid {
    margin-top: 0;
}

/* Espacement entre les différentes parties */
.pensee-section + .pensee-section {
    margin-top: 28px;
}


/* Adaptation tablette */
@media (max-width: 900px) {

    .pensee-section {
        width: 94%;
        margin-bottom: 24px;
    }

    .pensee-section-titre {
        margin-left: 12px;
        margin-bottom: 7px;
        font-size: 1.15rem;
    }
}


/* Téléphone */
@media (max-width: 600px) {

    .pensee-section {
        width: 96%;
        margin-bottom: 20px;
    }

    .pensee-section-titre {
        margin-left: 8px;
        margin-bottom: 6px;
        font-size: 1.05rem;
    }
}
